.component-card {
    & {
        height: 4.92rem;
        width: 8.7rem;
        box-shadow: 0 0 10px #888888;
        border-radius: 10px;
        font-size: 12px;
        margin-top: .6rem;
    }
    .img {
        height: 1.1rem;
        width: .8rem;
        background-image: url(http://botcdn.apiweixin.top/asserts/img/proj/htqmlogo.png);
        position: absolute;
        background-size: 100% auto;
        background-repeat: no-repeat;
        margin-top: .25rem;
    }
    .grade {
        font-size: .5rem;
        margin-left: 1rem;
    }
    .green {
        color: green;
        text-decoration: underline;
    }
    .top {
        height: 30%;
        width: 90%;
        border-bottom: 2px solid #ededed;
        margin: 0 auto;
        line-height: 4em;
        padding-top: .2rem;
    }
    .bottom {
        & {
            margin-top: 1.5vh;
        }
        p {
            margin: 0;
            margin-top: .5em;
            margin-left: 5%;
            font-size: 2vh;
        }
        span {
            margin-left: 1em;
        }
    }
}

.blue {
    background: linear-gradient(to right, #f3f9fd, #d2e6f7);
}

.yellow {
    background: linear-gradient(to right, #f1db86, #ff9b9a);
}